<% content_tag_for :li, note do %>
	<div class="title">
		<%= note.title %>
	</div>

	<div class="body">
		<%= display_note_body(note) %>
	</div>

	<div class="info">
		Updated on <%= display_updated_time(note) %> by <%= display_owner(note) %>
	</div>

	<div class="action_bar">
		<% only_for_admin do %>
			<%= link_to 'Edit', edit_repository_note_path(@repository, note), :class => "basic" %>
			| <%= link_to 'Delete', repository_note_path(@repository, note), :method => :delete, :class => "basic", :confirm => "Sure?" %>
		<% end %>
	</div>

<% end %>
